<?php require_once('header.php');?>	
	<div id="body">				
		<div id="content">
		<a href="<?=$back?>">up</a>
		&nbsp;&nbsp;&nbsp;&nbsp;
		<a href="<?=$top?>">top</a>
		<table class="data" style="width: 100%; margin: 10px 0;">
			<thead>
				<tr>
					<th>文件名</th>				
					<th>类型</th>									
				</tr>
			</thead>
		<?php if(!empty($list)):?>
			<?php foreach($list as $k => $item):?>
				<tr class="<?=($k%2)==0?'odd':'even'?>">
					<td>
						<?php if(isset($item['link'])):?>
						<a href="<?=$item['link']?>">
							<?=$item['file']?>
						</a>
						<?php else:?>
							<?=$item['file']?>
						<?php endif;?>
					</td>
					<td>
						<?=$item['type']?>
					</td>
				</tr>					
			<?php endforeach;?>
		<?php endif;?>
		</table>
		</div>
	</div>
<?php require_once("footer.php"); ?>